/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.softstone.sng.client;

/**
 *
 * @author Tomav
 */
public class NewClass
{
   public static void main(String[] args) throws NoSuchFieldException
   {
     long t = System.currentTimeMillis();
     System.out.println(t + " ms");
     System.out.println((t/(1000L)) + " s");
     System.out.println((t/(1000L*60)) + " m");
     System.out.println((t/(1000L*60*60)) + " h");
     System.out.println((t/(1000L*60*60*24)) + " d");
     System.out.println((t/(1000L*60*60*24*365))+ " y");
     System.out.println(((double)t)/Long.MAX_VALUE);
     t = Long.MAX_VALUE;
     System.out.println(t + " ms");
     System.out.println((t/(1000L)) + " s");
     System.out.println((t/(1000L*60)) + " m");
     System.out.println((t/(1000L*60*60)) + " h");
     System.out.println((t/(1000L*60*60*24)) + " d");
     System.out.println((t/(1000L*60*60*24*365))+ " y");
   }
}
